<div data-role="page">
    <div data-role="header">
        <a href="#" data-rel="back" class="ui-btn ui-icon-arrow-l ui-btn-icon-left ui-shadow">返回</a>
        <h1>经典蓝牙插件</h1>
    </div>
    <div role="main" class="ui-content">
        <p>使用蓝牙打印示例</p>
        <div data-role="collapsible">
            <h1>扫描蓝牙</h1>
            <button  onclick="bleScan()" class="ui-btn ui-btn-a">点击扫描蓝牙</button>
            <div id="bleScanInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>停止扫描</h1>
            <button  onclick="stopUnpaired()" class="ui-btn ui-btn-a">点击停止扫描</button>
            <div id="stopUnpairedInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>连接蓝牙</h1>
            <button  onclick="bleConnect()" class="ui-btn ui-btn-a">点击连接蓝牙</button>
            <div id="connectBleInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>打印数据</h1>
            <button  onclick="bleWrite()" class="ui-btn ui-btn-a">点击打印数据</button>
            <div id="writeBleInfo" width="100%"></div>
        </div>
        <div data-role="collapsible">
            <h1>关闭连接</h1>
            <button  onclick="bleDisConnect()" class="ui-btn ui-btn-a">点击关闭连接</button>
            <div id="disconnectBleInfo" width="100%"></div>
        </div>
    </div>
</div>
